home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 January: Mac OS SDK / Dev.CD Jan 99 SDK1.toast / Development Kits / Interfaces&Libraries / Universal / Interfaces / PInterfaces / CRMSerialDevices.p < prev    next >
Encoding:
Text File  |  1998-08-17  |  1.8 KB  |  84 lines  |  [TEXT/MPS ]

  1. {
  2.      File:        CRMSerialDevices.p
  3.  
  4.      Contains:    Communications Resource Manager Serial Device interfaces.
  5.  
  6.      Version:    Technology:    System 7.5
  7.                  Release:    Universal Interfaces 3.2
  8.  
  9.      Copyright:    © 1988-1993, 1995, 1997-1998 by Apple Computer, Inc., all rights reserved
  10.  
  11.      Bugs?:        For bug reports, consult the following page on
  12.                  the World Wide Web:
  13.  
  14.                      http://developer.apple.com/bugreporter/
  15.  
  16. }
  17. {$IFC UNDEFINED UsingIncludes}
  18. {$SETC UsingIncludes := 0}
  19. {$ENDC}
  20.  
  21. {$IFC NOT UsingIncludes}
  22.  UNIT CRMSerialDevices;
  23.  INTERFACE
  24. {$ENDC}
  25.  
  26. {$IFC UNDEFINED __CRMSERIALDEVICES__}
  27. {$SETC __CRMSERIALDEVICES__ := 1}
  28.  
  29. {$I+}
  30. {$SETC CRMSerialDevicesIncludes := UsingIncludes}
  31. {$SETC UsingIncludes := 1}
  32.  
  33. {$IFC UNDEFINED __MACTYPES__}
  34. {$I MacTypes.p}
  35. {$ENDC}
  36.  
  37.  
  38. {$PUSH}
  39. {$ALIGN MAC68K}
  40. {$LibExport+}
  41.  
  42.  
  43. CONST
  44.                                                                 {      for the crmDeviceType field of the CRMRec data structure     }
  45.     crmSerialDevice                = 1;                            {     version of the CRMSerialRecord below     }
  46.     curCRMSerRecVers            = 1;
  47.  
  48. { Maintains compatibility w/ apps & tools that expect an old style icon    }
  49.  
  50. TYPE
  51.     CRMIconRecordPtr = ^CRMIconRecord;
  52.     CRMIconRecord = RECORD
  53.         oldIcon:                ARRAY [0..31] OF LONGINT;                {  ICN#     }
  54.         oldMask:                ARRAY [0..31] OF LONGINT;
  55.         theSuite:                Handle;                                    {  Handle to an IconSuite     }
  56.         reserved:                LONGINT;
  57.     END;
  58.  
  59.     CRMIconPtr                            = ^CRMIconRecord;
  60.     CRMIconHandle                        = ^CRMIconPtr;
  61.     CRMSerialRecordPtr = ^CRMSerialRecord;
  62.     CRMSerialRecord = RECORD
  63.         version:                INTEGER;
  64.         inputDriverName:        StringHandle;
  65.         outputDriverName:        StringHandle;
  66.         name:                    StringHandle;
  67.         deviceIcon:                CRMIconHandle;
  68.         ratedSpeed:                LONGINT;
  69.         maxSpeed:                LONGINT;
  70.         reserved:                LONGINT;
  71.     END;
  72.  
  73.     CRMSerialPtr                        = ^CRMSerialRecord;
  74. {$ALIGN RESET}
  75. {$POP}
  76.  
  77. {$SETC UsingIncludes := CRMSerialDevicesIncludes}
  78.  
  79. {$ENDC} {__CRMSERIALDEVICES__}
  80.  
  81. {$IFC NOT UsingIncludes}
  82.  END.
  83. {$ENDC}
  84.